home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Madness of Roland
/
MADNESS of Roland.iso
/
REXPAND2.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-10-01
|
3KB
|
72 lines
@echo off
rem -------------------------------------------------------------------------
rem In case the Roland setup program fails for some reason, you can manually
rem install Roland by following the directions below:
rem
rem 1) Create a Roland directory on your hard disk.
rem
rem 2) Run REXPAND1.BAT from the Roland CD. Type
rem "REXPAND1 <destination directory>". This will
rem expand compressed files into your Roland directory.
rem
rem 3) Run REXPAND2.BAT from the Roland CD. Type
rem "REXPAND2 <path to your WINDOWS\SYSTEM dir>". This will
rem expand compressed files to your WINDOWS\SYSTEM directory.
rem (The files copied are VBRUN300.DLL and VER.DLL. They will
rem only be copied if the files do not already exist).
rem
rem 4) Copy the ROLAND.INI file from the Roland CD into your
rem WINDOWS directory. You may need to modify the CDROM_PATH
rem entry to point to your CD drive (1 = A:\, 2 = B:\, 3 = C:\,
rem 4 = D:\, etc).
rem
rem 5) To make a program icon for Roland, create a new program item
rem from the File New menu. Set the command line property for the
rem icon to "<path to Roland directory>\ROLAND.EXE". Set the
rem working directory property to "<path to Roland directory>".
rem ------------------------------------------------------------------------
rem --- Catch command line errors. Must type "REXPAND2 <dest>".
if "%1"=="" goto help1 rem Did not enter destination
if not "%2"=="" goto help2 rem Entered both source and dest--
rem don't want source
rem --- if VBRUN300.DLL is not already in the Windows\System dir, put it there
:Copy1
if exist %1\VBRUN300.DLL goto NoCopy1
EXPAND -r VBRUN300.DL_ %1
goto Copy2
rem --- if did not need to copy VBRUN300.DLL
:NoCopy1
echo.
echo VBRUN300.DLL was not copied because it already exists.
rem --- if VER.DLL is not already in the Windows\System dir, put it there
:Copy2
if exist %1\VER.DLL goto NoCopy2
EXPAND -r VER.DL_ %1
goto quit
rem --- if did not need to copy VER.DLL
:NoCopy2
echo.
echo VER.DLL was not copied because it already exists.
echo.
goto quit
rem --- help messages
:help1
echo.
echo Please specify your Windows\System directory: "REXPAND2 <WinSys dir>"
echo.
goto quit
:help2
echo.
echo Make sure you are running REXPAND2 from the Roland CD: "REXPAND2 <WinSys dir>"
echo.
:quit